﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Microsoft.SharePoint.WebControls;

namespace TemplateLibraryConnector.UI
{
    public class ViewStateEnabledToolBarMenuButton : ToolBarMenuButton
    {
        protected override void LoadViewState(object savedState)
        {
            base.LoadViewState(savedState);
            ViewStateHandler.LoadViewState(this, ViewState);
        }
        protected override object SaveViewState()
        {
            ViewStateHandler.SaveViewState(this, ViewState);
            return base.SaveViewState();
        }

    }
}
